package com.car.account.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author 董旭
 * @since 2024-08-28
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("user")
public class User implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @TableField("user_name")
    private String userName;

    @TableField("user_nickname")
    private String userNickname;

    @TableField("user_num")
    private String userNum;

    @TableField("user_phone")
    private String userPhone;

    @TableField("user_pass")
    private String userPass;

    @TableField("image")
    private String image;

    /**
     * 0正常1禁言
     */
    @TableField("silence_state")
    private Integer silenceState;

    /**
     * 0正常1禁用2删除
     */
    @TableField("user_state")
    private Integer userState;


}
